package cn.cau.service.impl;

import cn.cau.dao.CodeManageDao;
import cn.cau.entity.CodeManageRecord;
import cn.cau.service.CodeManageSearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CodeManageSearchServiceImpl implements CodeManageSearchService {
    @Autowired
    private CodeManageDao codeManageDao;
    @Override
    public List<CodeManageRecord> showCodeRuleManageList(int userId) {
        return codeManageDao.findManageApplicationByuserId(userId);
    }
}
